<?php
class Mmod_chuyenkhoa extends CI_Model{
    private $_tab = 'chuyenkhoa';
    function  __construct(){
        parent::__construct();
    }
    function listchuyenkhoa(){
        $this->db->order_by('order','asc');
        $query = $this->db->get($this->_tab);
        $data = $query->result();
        return $data;
    }
    function listbenh(){
        $query = $this->db->get($this->_tab);
        $data = $query->result();
        return $data;
    }
}